package controller.menuiconbar;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import view.MainFrame;

public class TableChangeListener implements ActionListener{
	
	public TableChangeListener(MainFrame f) {
		frame = f;
	}
		
	public void actionPerformed(ActionEvent arg0) {
		frame.getMainPanel().getLeft_panel().setDiskContent(1);
		frame.getMainPanel().getRight_panel().setDiskContent(1);
		frame.getMainPanel().getPrimary().setActive();
	}
	
	
	private MainFrame frame;	
}